{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { initSlideMotion } from '../../style/motion';\nvar genMotionStyle = function genMotionStyle(token) {\n  var componentCls = token.componentCls,\n    motionDurationSlow = token.motionDurationSlow;\n  return [_defineProperty({}, componentCls, _defineProperty({}, \"\".concat(componentCls, \"-switch\"), {\n    '&-appear, &-enter': {\n      transition: 'none',\n      '&-start': {\n        opacity: 0\n      },\n      '&-active': {\n        opacity: 1,\n        transition: \"opacity \".concat(motionDurationSlow)\n      }\n    },\n    '&-leave': {\n      position: 'absolute',\n      transition: 'none',\n      inset: 0,\n      '&-start': {\n        opacity: 1\n      },\n      '&-active': {\n        opacity: 0,\n        transition: \"opacity \".concat(motionDurationSlow)\n      }\n    }\n  })),\n  // Follow code may reuse in other components\n  [initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down')]];\n};\nexport default genMotionStyle;","map":{"version":3,"names":["initSlideMotion","genMotionStyle","token","componentCls","motionDurationSlow","transition","opacity","position","inset"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/tabs/style/motion.js"],"sourcesContent":["import { initSlideMotion } from '../../style/motion';\nconst genMotionStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow\n  } = token;\n  return [{\n    [componentCls]: {\n      [`${componentCls}-switch`]: {\n        '&-appear, &-enter': {\n          transition: 'none',\n          '&-start': {\n            opacity: 0\n          },\n          '&-active': {\n            opacity: 1,\n            transition: `opacity ${motionDurationSlow}`\n          }\n        },\n        '&-leave': {\n          position: 'absolute',\n          transition: 'none',\n          inset: 0,\n          '&-start': {\n            opacity: 1\n          },\n          '&-active': {\n            opacity: 0,\n            transition: `opacity ${motionDurationSlow}`\n          }\n        }\n      }\n    }\n  },\n  // Follow code may reuse in other components\n  [initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down')]];\n};\nexport default genMotionStyle;"],"mappings":";AAAA,SAASA,eAAe,QAAQ,oBAAoB;AACpD,IAAMC,cAAc,GAAG,SAAjBA,cAAc,CAAGC,KAAK,EAAI;EAC9B,IACEC,YAAY,GAEVD,KAAK,CAFPC,YAAY;IACZC,kBAAkB,GAChBF,KAAK,CADPE,kBAAkB;EAEpB,OAAO,qBACJD,YAAY,gCACPA,YAAY,cAAY;IAC1B,mBAAmB,EAAE;MACnBE,UAAU,EAAE,MAAM;MAClB,SAAS,EAAE;QACTC,OAAO,EAAE;MACX,CAAC;MACD,UAAU,EAAE;QACVA,OAAO,EAAE,CAAC;QACVD,UAAU,oBAAaD,kBAAkB;MAC3C;IACF,CAAC;IACD,SAAS,EAAE;MACTG,QAAQ,EAAE,UAAU;MACpBF,UAAU,EAAE,MAAM;MAClBG,KAAK,EAAE,CAAC;MACR,SAAS,EAAE;QACTF,OAAO,EAAE;MACX,CAAC;MACD,UAAU,EAAE;QACVA,OAAO,EAAE,CAAC;QACVD,UAAU,oBAAaD,kBAAkB;MAC3C;IACF;EACF,CAAC;EAGL;EACA,CAACJ,eAAe,CAACE,KAAK,EAAE,UAAU,CAAC,EAAEF,eAAe,CAACE,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,eAAeD,cAAc"},"metadata":{},"sourceType":"module"}